package com.mapper;

import com.entity.Activitytype;
import com.entity.ActivitytypeExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ActivitytypeMapper {
    long countByExample(ActivitytypeExample example);

    int deleteByExample(ActivitytypeExample example);

    int deleteByPrimaryKey(Integer atid);

    int insert(Activitytype record);

    int insertSelective(Activitytype record);

    List<Activitytype> getAll();

    List<Activitytype> getActivitytypesByPage(Map<String,Object> map);

    List<Activitytype> selectByExample(ActivitytypeExample example);

    Activitytype selectByPrimaryKey(Integer atid);

    int updateByExampleSelective(@Param("record") Activitytype record, @Param("example") ActivitytypeExample example);

    int updateByExample(@Param("record") Activitytype record, @Param("example") ActivitytypeExample example);

    int updateByPrimaryKeySelective(Activitytype record);

    int updateByPrimaryKey(Activitytype record);
}